function clickLogBtn(){
    const login=document.querySelector('.login')
    login.animate(
        [{
            opacity:'0.7'
        },
            {
                opacity:'0'
            }
        ], {
            duration: 1100
        }
    )
    setTimeout(()=>{
        location.href="bookList.html"
    },1000)

}
const btn=document.querySelector(".loginBtn")
btn.addEventListener('click',clickLogBtn)
